package com.itheima.demo.Demo06.CS;

public class rr {
    public static void main(String[] args) {
        Thread tt=new Thread(new R());
        System.out.println("start");
        tt.setName("小花");
        tt.start();
        for (int i = 0; i <=20 ; i++) {
            try {
                System.out.println("大花"+i);
                Thread.sleep(100);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }


        }

    }
}
